﻿<UserControl x:Class="VisualRibbonEditor.ErrorDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" 
    d:DesignHeight="250" d:DesignWidth="500" FontSize="12" FocusManager.IsFocusScope="True" KeyUp="ErrorDialog_KeyUp">

	<Border BorderThickness="2" BorderBrush="Black" >
		<Grid x:Name="LayoutRoot" Background="#fcfcfc">
			<Grid.RowDefinitions>
				<RowDefinition Height="*" />
				<RowDefinition Height="40" />
			</Grid.RowDefinitions>

			<StackPanel>
				<Border Background="#eeeeee" BorderThickness="0,0,0,1" BorderBrush="#aaaaaa">
					<TextBlock Text="Oops!     An error has occured..." FontSize="14" Margin="5" />
				</Border>
				
				 
 

			</StackPanel>

			<TextBox Margin="5,35,5,5" Name="ErrorInfo" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" FontFamily="Courier New" FontSize="13" />
			
			<Border Grid.Row="1"  BorderThickness="0,1,0,0" BorderBrush="#aaaaaa" >
				<StackPanel Orientation="Horizontal" HorizontalAlignment="Right"   >

					<Button Name="OKButton" Content="Close" Height="22" MinWidth="65" Margin="10,0,10,0" Click="OKButton_Click" />
					
				</StackPanel>
			</Border>

		</Grid>
	</Border>


</UserControl>
